package com.sright.bcard.content.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.content.dal.entity.FeedbackDO;
import com.sright.bcard.content.dal.entity.WxappDO;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface FeedbackDAO extends BaseDAO<FeedbackDO> {

    Integer count(Long memberId);

    List<FeedbackDO> pageList(Long beginTime, Long endTime, Integer status, PageParamRequest pageParamRequest);

    boolean updateStatus(Long feedbackId, Integer usefulStatus);
}
